package com.noble.meether.ui.vip.bean;

import com.noble.library.base.bean.BaseData;

import org.json.JSONArray;

import java.util.ArrayList;

/**
 * VIP列表
 */
public class VipList extends BaseData {
    private ArrayList<Vip> vipList = new ArrayList<>();

    @Override
    public void parseJson(String jsonStr) {
        JSONArray jsonArray = getJsonArray(jsonStr);
        this.vipList = (ArrayList<Vip>) getBaseDataList(jsonArray, Vip.class);
    }

    public ArrayList<Vip> getVipList() {
        return vipList;
    }
}
